<?php
declare (strict_types=1);

namespace app\common\model;

class Article extends Base
{

    protected $name = 'article';

    protected function cate()
    {
        return $this->hasOne(ArticleCate::class, 'id', 'cate_id');
    }
}
